Skip to main content
POST
/
api
/
v3
/
sites
/
{site_uuid}
/
teams
/
{team_uuid}
/
grant-sensitive-data
Grant sensitive data access to a team
curl --request POST \
  --url https://app.plugchoice.com/api/v3/sites/{site_uuid}/teams/{team_uuid}/grant-sensitive-data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "expires_never": true,
  "data_access_expires_at": "2051-12-13"
}
'
{
  "message": "Sensitive data access granted successfully"
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

site_uuid
string
required
team_uuid
string
required

Body

application/json
expires_never
boolean
required
Example:

true

data_access_expires_at
string

This field is required when expires_never is false. Must be a valid date. Must be a date after today.

Example:

"2051-12-13"

Response

200 - application/json
message
string
Example:

"Sensitive data access granted successfully"